package com.reebake.ideal.security.core;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

@Getter
public class LoginSuccessEvent extends ApplicationEvent {
    private final String username;
    private final String userId;
    private final String from;

    public LoginSuccessEvent(Object source, String username, String userId, String from) {
        super(source);
        this.username = username;
        this.userId = userId;
        this.from = from;
    }
}
